std::strcat

From Cppreference

Jump to: navigation, search
Defined in header <cstring>

char *strcat( char *dest, const char *src );

Appends a character string pointed to by src to a character string pointed to by dest. The resulting character string is null-terminated. If the strings overlap, the behavior is undefined.

Contents

Parameters

dest - pointer to the null-terminated character string to append to
src - pointer to the null-terminated character string to copy from

Return value

dest

Example

See also

strncat
concatenates a certain amount of characters of two strings
(function)
strcpy
copies one string to another
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages